package com.ruoyi.develop.finance.financeBuyInvoiceStoreRel.domain;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.develop.lvRukumingxi.domain.LvRukumingxi;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购发票和入库明细关系对象 finance_buy_invoice_store_rel
 *
 * @author lmm
 * @date 2025-07-25
 */
public class FinanceBuyInvoiceStoreRel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 发票id
     */
    @Excel(name = "发票id")
    private String invoiceId;

    /**
     * 发票编号
     */
    @Excel(name = "发票编号")
    private String invoiceCode;

    /**
     * 入库单id
     */
    @Excel(name = "入库单id")
    private String storeId;

    /**
     * 入库单编号
     */
    @Excel(name = "入库单编号")
    private String storeNos;

    /**
     * 入库明细id
     */
    @Excel(name = "入库明细id")
    private String storeDetailId;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private String goodsId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String goodsName;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String goodsCode;

    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String goodsModel;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** * 金额 */
    private String status;

    /**
     * 删除标志
     */
    private String delFlag;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 入库明细
     */
    List<LvRukumingxi> rukumingxiList;

    public List<LvRukumingxi> getRukumingxiList() {
        return rukumingxiList;
    }

    public void setRukumingxiList(List<LvRukumingxi> rukumingxiList) {
        this.rukumingxiList = rukumingxiList;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public void setStoreNos(String storeNos) {
        this.storeNos = storeNos;
    }

    public String getStoreNos() {
        return storeNos;
    }

    public void setStoreDetailId(String storeDetailId) {
        this.storeDetailId = storeDetailId;
    }

    public String getStoreDetailId() {
        return storeDetailId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("invoiceId", getInvoiceId())
                .append("invoiceCode", getInvoiceCode())
                .append("storeId", getStoreId())
                .append("storeNos", getStoreNos())
                .append("storeDetailId", getStoreDetailId())
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
                .append("goodsCode", getGoodsCode())
                .append("goodsModel", getGoodsModel())
                .append("amount", getAmount())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
